package com.example.model.product.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Product implements Serializable {
    private int id;
    private String name;
    private String desc;
    private String price;
    private String picture;
    private String categoryId;
    private String discount; // 可以为null，表示无折扣
    private Integer orderNum; // 可以为null，表示销量未知
    private String lastOperator; // 最后操作人
    private LocalDateTime lastOperationTime; // 最后操作时间
}
